﻿Public Class FrmOilManages
    Public Sub showControl(ByVal obj As System.Windows.Forms.Control)
        PanelEx1.Controls.Clear()
        obj.Dock = DockStyle.Fill
        PanelEx1.Controls.Add(obj)
    End Sub
 
    Private Sub FrmOilManages_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Dim uc As New ucOilfuel
        'showControl(uc)
    End Sub
End Class